home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
426-450
/
disk_429
/
climax
/
makefile
< prev
next >
Wrap
Makefile
|
1992-05-06
|
2KB
|
74 lines
# this here is the makefile for CLImax using Aztec C and Aztec assembler.
# also for FixCLI, simple and fancy versions. I use the PD Make on fish 69.
PRECOMP = -hi w:II
IPRECOMP = -hi w:INTU
# that's the aztec 5.0 version. for 3.6 replace "-hi " with "+i". If you
# don't want to make precompiled header files just use "PRECOMP =" and
# likewise for IPRECOMP. II can be precompiled from libraries/dosextens.h
# and Paul.h, and INTU is the contents of II plus intuition/intuitionbase.h.
# With 3.6 INTU could contain ONLY intuition and then you could set IPRECOMP
# to be +iII +iINTU, but 5.0 refuses to accept more than one -hi option!
SDBCMD = -BS -s0f0n
# for aztec 3.6 use SDBCMD = -N
ram\:CLImax : climax.o bud.o
ln +q -m +a -o ram:CLImax climax.o bud.o -lc
@dr ram:climax
# the +a option for ln is NECESSARY.
# Those without the Dr command can use List.
# Here's the version for assembly-level debugging:
b : ram:dbax
ram\:dbax : climax.o bud.o
ln -W +q -m +a -o ram:dbax climax.o bud.o -lc
@dr ram:dbax
climax.o : climax.c
cc $(IPRECOMP) climax
bud.o : bud.a
as -n bud.a
# Here's the one for C-level debugging with SDB:
d : ram:bugax
ram\:bugax : bugax.o bud.o
ln -G +q -m +a -o ram:bugax bugax.o bud.o -lc
@dr -l ram:bugax\#?
# the +a option for ln is NECESSARY.
# Those without the Dr command can use List.
bugax.o : climax.c
cc $(SDBCMD) $(IPRECOMP) -o bugax.o climax
# this is a different hack that happened to be in the same directory for
# historical reasons:
f : ram:FixCLI
fw : ram:FixCLI-W
ram\:FixCLI : t:fixcli.o
ln +q -m -o ram:FixCLI t:fixcli.o -lc
@protect ram:fixcli +p
@dr -l ram:fixcli
ram\:FixCLI-W : t:fixcli-w.o
ln +q -m -o ram:FixCLI-W t:fixcli-w.o -lc
@protect ram:fixcli-w +p
@dr -l ram:fixcli-w
t\:fixcli.o : fixcli.c
cc $(PRECOMP) -o t:fixcli.o fixcli.c
t\:fixcli-w.o : fixcli.c
cc $(IPRECOMP) -dWINDOWPTR -o t:fixcli-w.o fixcli.c